//
//  HWGetGoldModel.m
//  嗨文
//
//  Created by 响当当 on 4/25/19.
//  Copyright © 2019 dongzheng. All rights reserved.
//

#import "HWGetGoldModel.h"

@implementation HWGetGoldModel
- (id)initWithDic:(NSDictionary *)dic
{
    if (self = [super init])
    {
        self.completeNum = [[NSString stringWithFormat:@"%@",dic[@"completeNum"]] isValidString] ? [NSString stringWithFormat:@"%@",dic[@"completeNum"]] :@"";
        self.rewardNum = [[NSString stringWithFormat:@"%@",dic[@"rewardNum"]] isValidString] ? [NSString stringWithFormat:@"%@",dic[@"rewardNum"]] :@"";
        self.completeTime = [[NSString stringWithFormat:@"%@",dic[@"completeTime"]] isValidString] ? [NSString stringWithFormat:@"%@",dic[@"completeTime"]] :@"";
        self.completorName = [[NSString stringWithFormat:@"%@",dic[@"completorName"]] isValidString] ? [NSString stringWithFormat:@"%@",dic[@"completorName"]] :@"";
        self.completorId = [[NSString stringWithFormat:@"%@",dic[@"completorId"]] isValidString] ? [NSString stringWithFormat:@"%@",dic[@"completorId"]] :@"";
        self.rewardStatus = [[NSString stringWithFormat:@"%@",dic[@"rewardStatus"]] isValidString] ? [NSString stringWithFormat:@"%@",dic[@"rewardStatus"]] :@"";
        self.nextStandardNum = [[NSString stringWithFormat:@"%@",dic[@"nextStandardNum"]] isValidString] ? [NSString stringWithFormat:@"%@",dic[@"nextStandardNum"]] :@"";
    }
    return self;
}
@end
